student = {
    "小明" :0,
    "小红" :0,
    "小芳" :0,
    "小亮" :0
}
count =0
while count <10:
    name = input("请输入你支持的候选人：")
    if name =="小明" :
        student["小明"] +=1
    elif name =="小红" :
        student["小红"] +=1
    elif name =="小芳":
        student["小芳"] +=1
    else:
        student["小亮"] +=1
    count +=1
print (student)
print(max(student.values()))
for key,value in student.items():
    if(value == max(student.values())):
        print('恭喜%s成为班长'%key)